﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GuiLibrary;
using Imaginarium.team;
using Imaginarium.battleSistem;

namespace Imaginarium.gui
{
    public class ImaginariumElement: Element
    {
        
        public objectType type { get; set; }

        public ImaginariumElement(SkillDetail sd):
            base(sd.skill.name,sd)
        {
            type = objectType.SKILL;
        }

        public ImaginariumElement(BattleOption bo):
            base(bo.name, bo)
        {
            type = objectType.BATTLE_COMMAND;
        }


        public ImaginariumElement(DetailItem item):
            base(item.item.name,item)
        {
            type = objectType.ITEM;
        }

        public ImaginariumElement(Character character):
            base(character.name,character)
        {
            type = objectType.CHARACTER;
        }

        public enum objectType { 
            ITEM,
            SKILL,
            BATTLE_COMMAND,
            CHARACTER
        }
    }
}
